package cn.zyq.ykb.beans.task;

import cn.zyq.ykb.system.common.BaseBean;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 我的领取审核记录对象 myTaskAuditLog
 *
 * @author SystemAuth
 * @date 2023-06-06
 */
@Data
@Entity
@Table(name = "`myTaskAuditLog`")
@JsonInclude(value = JsonInclude.Include.NON_NULL)
public class MyTaskAuditLog  extends BaseBean implements Serializable {
    /**
     * 主键id，用于关联
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY, generator = "JDBC")
    @Column(name = "`myTaskAuditLogID`")
    @ApiModelProperty("主键id，用于关联")
    private Integer myTaskAuditLogID;
    /**
     * 状态（1待提交，2审核中，3已驳回，4已成功）
     */
    @Column(name = "`state`")
    @ApiModelProperty("状态（1待提交，2审核中，3已驳回，4已成功）")
    private Integer state;
    /**
     * 领取ID
     */
    @Column(name = "`myTaskID`")
    @ApiModelProperty("领取ID")
    private Integer myTaskID;
    /**
     * 驳回原因
     */
    @Column(name = "`remark`")
    @ApiModelProperty("驳回原因")
    private String remark;
}
